package org.csu.forum.service;

import org.csu.forum.domain.PO.Account;
import org.csu.forum.domain.PO.Login;
import org.csu.forum.domain.VO.Prior;
import org.springframework.stereotype.Service;

import java.util.List;

public interface AccountManageService {

    //获取用户列表 pass
    public List<Account> getAccountList();

    //删除用户 pass
    public void deleteAccount(int userid);

    //管理员查看用户权限 pass
    public List<Prior> getPriorList(int userid);

    //设置用户权限 pass
    public void setPrior(Prior prior );

    public void addAccountToSection(int userid , int sectionid);

    //新建用户  测试用接口  pass
    public void insertAccount(Account account , Login login);
}

